// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from '@/store/index.js'
import './assets/js/flexible'
import './assets/scss/base.scss'
import YDUI from 'vue-ydui'; /* 相当于import YDUI from 'vue-ydui/ydui.rem.js' */
import 'vue-ydui/dist/ydui.rem.css'; /* 使用px：import 'vue-ydui/dist/ydui.px.css'; */
import plugin from '@/plugins'
Vue.use(YDUI);
Vue.config.productionTip = false
Vue.use(plugin, {})
import Es6Promise from 'es6-promise'
Es6Promise.polyfill()
import './router/interception' //路由拦截器

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {
    App
  },
  template: '<App/>'
})
